package com.swxy.club.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 社团用户角色关联表
 * </p>
 *
 * @author dyh
 * @since 2025-04-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("club_user_role")
@ApiModel(value="ClubUserRole对象", description="社团用户角色关联表")
public class ClubUserRole extends BaseDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户ID（关联用户表）")
    private Integer userId;

    @ApiModelProperty(value = "社团ID（关联社团表）")
    private Integer clubId;

    @ApiModelProperty(value = "角色编码（如ROLE_MEMBER(普通成员), ROLE_PRESIDENT(社长),ROLE_VICE_PRESIDENT(副社长)")
    private String roleCode;




}
